package com.ruoyi.vplat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网关对象 vplat_gateway
 * 
 * @author ruoyi
 * @date 2024-12-19
 */
public class VplatGateway extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键id */
	private String id;

	/** 协议类型 */
	@Excel(name = "协议类型")
	private String protocol;

	/** 名称 */
	@Excel(name = "名称")
	private String name;
	/** 在线状态 */
	@Excel(name = "在线状态")
	private Integer online;

	/** 激活状态 0正常 1停用 */
	@Excel(name = "激活状态 0正常 1停用")
	private String status;

	/** 数据状态 sys_oper_type */
	private String delFlag;

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public String getProtocol() {
		return protocol;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getDelFlag() {
		return delFlag;
	}
	
	public Integer getOnline() {
		return online;
	}
	
	public void setOnline(Integer online) {
		this.online = online;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("protocol", getProtocol()).append("name", getName()).append("status", getStatus())
				.append("delFlag", getDelFlag()).append("createBy", getCreateBy()).append("createTime", getCreateTime())
				.append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark())
				.toString();
	}
}
